package net.lab1024.sa.admin.module.users.usage.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;
import java.time.LocalDate;
import lombok.Data;

/**
 * 实训室耗材领用 实体类
 *
 * @Author 李韵妍
 * @Date 2024-11-08 13:31:03
 * @Copyright 🐂🐎bloc
 */

@Data
@TableName("t_consumables_usage")
public class ConsumablesUsageEntity {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 领用日期
     */
    private Timestamp usageDate;

    /**
     * 序号
     */
    private Integer serialNumber;
    /**
     * 耗材ID
     */
    private Integer materialId;

    /**
     * 耗材代码
     */
//    private String materialCode;

    /**
     * 耗材名称
     */
//    private String materialName;


    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 用途，主要包括实训耗材、维修配件、竞赛训练等
     */
    private String purpose;

    /**
     * 备注
     */
    private String remark;

    /**
     * 实训部
     */
    private Integer trainingDepartment;

    /**
     * 领用人
     */
    private int usageUser;

    @TableField(exist = false)
    private String actualUser;

    @TableField(exist = false)
    private String actualWarehouseManager;



    /**
     * 仓库管理员
     */
    private int warehouseManager;




}
